<%@ page contentType="text/html; charset=UTF-8"  %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Language" content="ja" />
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta http-equiv="Content-Script-Type" content="text/javascript" />
    <meta http-equiv="Content-Style-Type" content="text/css" />
    <meta name="robots" content="noindex,nofollow" />
    <title><bean:message key="page.title"/></title>
    <meta name="description" content="" />
    <meta name="keywords" content="" />
    <link href="css/site.css" rel="stylesheet" type="text/css" />
    <script src="jquery-1.6.4.min.js" type="text/javascript"></script>
    <script src="jquery-ui-1.8.11.min.js" type="text/javascript"></script>
    <script src="jquery.validate.min.js" type="text/javascript"></script>
    <script src="modernizr-1.7.min.js" type="text/javascript"></script>
    <script src="jquery.mobile-1.1.0.js" type="text/javascript"></script>
</head>
<body>
    <div class="page">
        <header>
            <div id="title">
                <h1><bean:message key="page.title"/></h1>
            </div>
            <div id="logindisplay">
            	<a href="/login">Login</a>
            </div>
            <nav>
                <ul id="menu">
                    <li><a href="/login.do">Login</a></li>
                    <li><a href="/entry.do">Register</a></li>
                    <li><a href="/listUser.do">User list</a>
                    <li><a href="/about.html">About</a></li>
                </ul>
            </nav>
        </header>
        <section id="main">
			<h3><bean:message key="login.message"/></h3>
			<html:errors/>
			<html:form action="/menu.do" focus="userId">
				<table>
					<tr>
						<td><bean:message key="user.id" /></td>
						<td><bean:message key="user.password" /></td>
					</tr>
					<tr>
						<td><html:text property="userId" size="20" maxlength="6" /></td>
						<td><html:password property="password"  size="20" maxlength="8" /></td>
					</tr>
				</table>
				<br />
				<html:submit property="submit" value="Login" />
				<html:reset value="Reset"/>
			</html:form>
        </section>
        <footer>
            <a href="/entry.do">go to entry</a>
        </footer>
    </div>
</body>
</html>